package Producer;

import org.apache.activemq.command.ActiveMQQueue;
import org.apache.camel.language.Bean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration

public class QueueConfig<String> {

    @Value("${queue}")

    private String queue;



    @Bean(ref = "")

    public ActiveMQQueue logQueue() {

        return new ActiveMQQueue((java.lang.String) queue);

    }

}
